package com.sdy.healthcode.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.healthcode.biz.dto.PersonnelEntryAndExitDTO;
import com.sdy.healthcode.biz.model.ReportPeoplePass;
import com.sdy.mvc.service.BaseService;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 人员进出分析报表 服务类
 * </p>
 *
 * @author cgj
 * @since 2020-03-06
 */
public interface ReportPeoplePassService extends BaseService<ReportPeoplePass> {

    List<PersonnelEntryAndExitDTO> getEtryAndExitBase(Page page);

    List<PersonnelEntryAndExitDTO> getEtryAndExitBaseByTypeId(Integer typeId, Page page);

    List<PersonnelEntryAndExitDTO> getEtryAndExitBaseByTime(String startTime, String endTime, Page page);

    List<PersonnelEntryAndExitDTO> getEtryAndExitBaseByDouble(Integer typeId, String startTime, String endTime, Page page);
}
